<?php foreach ($results as $key => $item) { ?>
    <a href="<?php echo $item->url ?>"><?php echo $item->name ?></a> &nbsp;|&nbsp;
<?php } ?>

